{if $page_count>1} 总共{$page_count}页,当前第{$pg}页 | 页数: {foreach from=$page_arr item=page}
  1. {$page.name}
  2. {/foreach} {/if}